<?php

require_once('inc.config.php');

if(__login__==0){
	header("Location:index.php");
	exit;
}

$rtype = $_GET["rtype"];
$rid = $_GET["rid"];

$receiver = $rtype==0?"a_".$rid:"u_".$rid;

$useTemplate   = 'sendmsg.html';

$page = new QuickSkin ($useTemplate );

template_ini($page);

$page->assign("indexcls" , "bfont");
$page->assign("receiver" , $receiver);

$page->output();


ob_end_flush();

?>
